#! /bin/bash
mode="$1"

if [ "$mode" == "mini" ]
then
  taro build --type weapp --watch --env production
elif [ "$mode" == "dev" ]
then
  npm run dev:weapp
else
  npm run build:weapp
fi
